import metaInterface from '../../meta.interface';
import LIcon from '@/components/public/lIcon/lIcon';
export default {
  path: 'policys',
  name: 'policys',
  meta: {
    title: '保单管理',
    icon: () => <LIcon type="icon-property-insurance"/>,
  } as metaInterface,
  children: [
    {
      path: 'orderList',
      name: 'orderList',
      meta: {
        title: '订单管理',
      } as metaInterface,
      children: [
        {
          path: 'orderListPage',
          name: 'orderListPage',
          component: () => import('@/views/index/policys/orderList/orderListPage/orderListPage'),
          meta: {
            title: '订单列表',
          } as metaInterface,
        },
        {
          path: 'orderDetailPage',
          name: 'orderDetailPage',
          component: () => import('@/views/index/policys/orderList/orderDetailPage/orderDetailPage'),
          meta: {
            title: '订单详情',
            activeMenu: 'orderListPage',
          } as metaInterface,
        },
        {
          path: 'orderListPage/insuredList',
          name: 'orderListPageInsuredList',
          component: () => import('@/views/index/policys/orderList/orderListPage/insuredList/insuredList'),
          meta: {
            title:'被保人清单',
            activeMenu: 'orderListPage',
          } as metaInterface,
        }
      ]
    },
  ]
}